package qc.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 数据类型枚举
 *
 * @author QuCheng Tech
 * @since 2024/1/29
 */
@Getter
@AllArgsConstructor
public enum DataTypeEnum {
    STRING(0, "字符串"),
    DATE(1, "日期时间"),
    INT(2, "整数"),
    FLOAT(3, "小数"),
    BOOL(4, "布尔"),
    BLOB(6, "二进制对象");

    @EnumValue
    private int index;
    private String name;
}
